import Vue from 'vue'
import Vuex, { Store } from 'Vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    token: null,
    global_id: 1,
  },
  mutations: {
    getToken: (state, param) => {
      state.token = param;
    }
  }
});

export default store
